package model;

public class Customer {
    
    private int id;
    private String name;
    private String address;
    private String postalCode;
    private String residence;
    
    public Customer() {
        
    }
    
    /*
     * Creates an instance of Customer
     * @param int id
     * @param String name
     * @param String address
     * @param String postalCode
     * @param String residence
     */
    public Customer(int id, String name, String address, String postalCode, String residence) {
        this.id = id;
        this.name = name;
        this.address = address;
        this.postalCode = postalCode;
        this.residence = residence;
    }
    
    /*
     * Gets the Id
     * @return int
     */
    public int getId() {
        return this.id;
    }
    
    /*
     * Sets the Id
     * @param int id
     */
    public void setId(int id) {
        this.id = id;
    }
    
    /*
     * Gets the name
     * @return String
     */
    public String getName() {
        return this.name;
    }
    
    /*
     * Sets the name
     * @param String name
     */
    public void setName(String name) {
        this.name = name;
    }
    
    /*
     * Gets the address
     * @return String
     */
    public String getAddress() {
        return this.address;
    }
    
    /*
     * Sets the address
     * @param String address
     */
    public void setAddress(String address) {
        this.address = address;
    }
    
    /*
     * Gets the postal code
     * @return String
     */
    public String getPostalCode() {
        return this.postalCode;
    }
    
    /*
     * Sets the postal code
     * @param String postalCode
     */
    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }
    
    /*
     * Gets the residence
     * @return String
     */
    public String getResidence() {
        return this.residence;
    }
    
    /*
     * Sets the residence
     * @param String residence
     */
    public void setResidence(String residence) {
        this.residence = residence;
    }
}